package micro.service.userMeun;
import micro.Dao.userMeun.UserMapper;
import micro.pojo.employee;
import micro.pojo.employees;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service("userspace")
public class userspace implements UserMapper {
    @Autowired
    private UserMapper userMapper;

    @Override
    public int Dales(int id) {
        return userMapper.Dales(id);
    }

    @Override
    public List<employee> Sase(int id) {
        return userMapper.Sase(id);
    }

    @Override
    public employee upe(int id) {
              return userMapper.upe(id);
    }

    @Override
    public int insets(employee employee) {
        return userMapper.insets(employee);
    }

    @Override
    public int inser(employees employees) {
        return userMapper.inser(employees);
    }

    @Override
    public List<employees> listos() {
        return userMapper.listos();
    }

    @Override
    public List<employees> ose(String name) {
        return userMapper.ose(name);
    }

    @Override
    public employees sels(Integer id) {
        return userMapper.sels(id);
    }

    @Override
    public int upen(employees employees) {
        return userMapper.upen(employees);
    }
}